www.gusucode.com > 24Beta 虚拟主机版 1.0.0 Beta源码程序 > 24Beta 虚拟主机版 1.0.0 Beta源码程序/24Beta-1.0.0-vhost/library/framework/cli/views/webapp/protected/components/views/mainMenu.php
<ul> <?php foreach($items as $item): ?> <li><?php echo CHtml::link($item['label'],$item['url'], $item['active'] ? array('class'=>'active') : array()); ?></li> <?php endforeach; ?> </ul>